import 'package:flutter/material.dart';


class SecondItem extends StatefulWidget{
  @override
  _SecondItem createState() {
    // TODO: implement createState
    return _SecondItem();
  }
}
class _SecondItem extends State<SecondItem>{
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Container(
      padding: EdgeInsets.only(left: 15,right: 10,bottom: 10),
      child: Row(
        mainAxisAlignment: MainAxisAlignment.spaceBetween,
        children: <Widget>[
          Column(
            crossAxisAlignment: CrossAxisAlignment.start,
            children: <Widget>[
              Container(
                child:Text("逛同城",style: TextStyle(fontWeight: FontWeight.bold,fontSize: 20),),
                ),
              Container(child: Text("9.8万人在线",style: TextStyle(color: Colors.grey,fontSize: 12),))
            ],
          ),
          Container(child:Image.asset('images/oppor17.jpg',height: 50,),margin: EdgeInsets.only(top: 10),)
        ],
      ),
    );
  }
}